﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FPNN
{
    class Program
    {
        static void Main(string[] args)
        {
            Core c = new Core("", 4);
            do
            {
                Fix16[][] result = c.ProcessDataMatrix(DataReader.ReadDataMarix("data.txt"));

                foreach (var vector in result)
                {
                    foreach (var item in vector)
                    {
                        Console.Write("{0} ", item.ToDouble());
                    }
                    Console.WriteLine();
                }
                Console.WriteLine();
                Console.WriteLine();
            }
            while (!c.IncDelay());

            Console.ReadKey();
        }
    }
}
